home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
comm
/
tcp
/
cp5.lha
/
cp5
/
bin
/
updateprogs.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1995-10-15
|
472b
|
19 lines
/* rexx:
** $ver: Update Program Prefs Version 1.0
*/
address command "copy cp:prefs/programs cp:prefs/programs.old"
address command "protect cp:prefs/programs.old -d"
call open(in,"cp:prefs/programs.old","R")
call open(out,"cp:prefs/programs","W")
call seek(out,0,"B")
do until eof(in)
line = readln(in)
parse var line progtype "=" programpath
newline = compress(progtype) ||" = stack "||programpath
call writeln(out,newline)
end
call close(in)
call close(out)